package appapi.entity.Zhongjiao;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author djq
 * @date 2023/5/31 14:53
 * @description:
 */

@ApiModel(value = "certificate")
@Data
public class CertificateDto {
    /**
     * 证件id
     */
    @ApiModelProperty(value = "证件id")
    private Long certificateId;

    /**
     * 准操作项目地址
     */
    @ApiModelProperty(value = "准操作项目地址")
    private List<Long> operItemIdArr;

    /**
     * 准操作项目Id
     */
    @ApiModelProperty(value = "准操作项目Id")
    private Long operItemId;

    /**
     * 准操作项目类型Id
     */
    @ApiModelProperty(value = "准操作项目类型Id")
    private Long operTypeId;

    /**
     * 准操作项目名称
     */
    @ApiModelProperty(value = "准操作项目名称")
    private String operItemName;


    /**
     * 人员id
     */
    @ApiModelProperty(value = "人员id")
    private Long operId;

    /**
     * 证书分类代码
     */
    @ApiModelProperty(value = "证书分类代码")
    private String certificateTypeCode;

    /**
     * 发证单位
     */
    @ApiModelProperty(value = "发证单位")
    private String certificateIssueunit;

    /**
     * 证件号码
     */
    @ApiModelProperty(value = "证件号码")
    private String certificateCode;

    /**
     * 发证日期
     */
    @ApiModelProperty(value = "发证日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime certificateCtime;

    /**
     * 复审日期
     */
    @ApiModelProperty(value = "复审日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime certificateReexamine;

    /**
     * 证件照片
     */
    @ApiModelProperty(value = "证件照片")
    private String certificateImg;

    /**
     * 网查图片
     */
    @ApiModelProperty(value = "网查图片")
    private String certificateInternetImg;
}